﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Drawing;
using System.ComponentModel.Design;

namespace KP_CommonLibrary.KP_CommonControls
{
    #region KP_Label

    public class KP_Label : DevComponents.DotNetBar.LabelX
    {
        public KP_Label()
        {
            base.AutoSize = true;
            base.ForeColor = System.Drawing.SystemColors.Desktop;
            base.BackColor = System.Drawing.Color.Transparent;
            VisibleChanged += new EventHandler(KP_Label_VisibleChanged);
           // base.Font = KP_UIConfig.ControlFont;
        }

        void KP_Label_VisibleChanged(object sender, EventArgs e)
        {
            Font = KP_UIConfig.ControlFont;
        }
    }
    #endregion
}
